package com.springboot.returndata.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
public class AddUpdateResourceDto {

    private Integer authorityId;
    //名称
    @NotNull(message = "权限名称不能为空")
    private String authorityName;
    //排序
    private Integer orderNumber;
    //路径
    private String menuUrl;
    //图标
    private String menuIcon;
    private String createTime;
    //权限标志
    private String authority;
    private String updateTime;
    //目录按钮
    private String isMenu;
    private Integer parentId;
    private String auth;

   @NotNull(message = "节点编号不能为空")
    private String menuCode;
}
